<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/util_file/common.jspf"%>
<script type="text/javascript">
	$(document).ready( function(){
		$("[name=userid]").click( function(){
			$("[name=u_id]").val($(this).attr("userid_result"));
			$.nmTop().close();
		});
	});
</script>
<table border="0" width="500px" height="50">
		<tr>
			<th>아이디</th>
			<th>가입일</th>
		</tr>
		<tr>
			<td colspan="3" bgcolor="#ffffff" height="1"></td>
		</tr>
		<c:forEach items="${search_result}" var="item" varStatus="status">
		<tr>
			<td userid_result="${item.u_id}" name="userid" style="cursor: pointer;"><B>${item.u_id}</B></td>
			<td><fmt:formatDate value="${item.joindate}" pattern="yyyy-MM-DD"/></td>
			<td><button type="button" id="BtnInsertName" name="userid"  userid_result="${item.u_id}">확인</button></td>
		</tr>
		</c:forEach>
		<tr>
			<td colspan="3" bgcolor="#ffffff" height="1"></td>
		</tr>
</table>
